package com.ax.base.drugproducer.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.ax.base.common.utils.PageUtils;
import com.ax.base.drugproducer.domain.BaseProducer;

@Service
public interface DrugProducerService {

	/**
	 * 药品厂家
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return PageUtils
	 */
	public List<BaseProducer> queryDrugproducerSer(Map<String,Object> params);
	
	/**
	 * 药品厂家增加(模块:药品厂家)
	 * 
	 * @param BaseProducer baseProducer
	 *           
	 * @return SUCC
	 */
	public void insertBaseDrugSer(BaseProducer baseProducer);
	
	/**
	 * 药品厂家修改(模块:药品厂家)*跳转修改页面
	 * 
	 * @param Long id
	 *           
	 * @return HTML
	 */
	public BaseProducer getProducerSer(Long id);
	
	/**
	 * 药品厂家修改(模块:药品厂家)
	 * 
	 * @param BaseProducer baseProducer
	 *           
	 * @return SUCC
	 */
	public void updateBaseDrugSer(BaseProducer baseProducer);
	
	/**
	 * 验证信用代码是否重复
	 * 
	 * @param Map<String,Object> map
	 *         
	 * @return boolean
	 */
	public boolean validateSer(Map<String,Object> params);
	
	/**
	 * 验证信用代码是否重复(修改)
	 * 
	 * @param Map<String,Object> map
	 *         
	 * @return boolean
	 */
	public boolean updateValidateSer(String userName);
	
}
